import random
print(random.randint(1,6))
print(random.randint(1,8))